package net.lab1024.smartadmin.module.business.payment.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import net.lab1024.smartadmin.common.domain.BaseEntity;
import java.util.Date;
import java.math.BigDecimal;
import lombok.Data;

/**
 * [  ]
 *
 * @author mrmf
 * @version 1.0
 * @company ${company}
 * @copyright (c)  ${company}Inc. All rights reserved.
 * @date 2021-05-24 19:48:52
 * @since JDK1.8
 */
@Data
@TableName("t_payment")
public class PaymentEntity extends BaseEntity{


    /**
     * 收款时间
     */
    private Date time;

    /**
     * 订单单号
     */
    private String orderId;

    /**
     * 应收金额
     */
    private BigDecimal totalPrice;

    /**
     * 优惠金额
     */
    private BigDecimal discountPrice;

    /**
     * 支付方式
     */
    private String payment;

    /**
     * 实收金额
     */
    private BigDecimal receivedPrice;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 顾客ID
     */
    private String customerId;

    /**
     * 收款人
     */
    private String payee;

}
